package com.ichoice.rabbitmq.rpc;

import com.ichoice.rabbitmq.rpc.helper.sub.SubScribeHelper;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class ClientApplication {
    public static void main(String[] args) {
        SpringApplication.run(ClientApplication.class, args);
        // 订阅服务端某个接口
        SubScribeHelper.subscribe("hsp-dict","LoginImpl","fanoutLogin",
                "Slove1","test6");
        //
        SubScribeHelper.subscribe("hsp-dict","LoginImpl","fanoutUser",
                "Slove1","test7");
    }
}
